package com.example.sell.repository;

import com.example.sell.bean.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *商品信息
 * @author ouyangzhixiang
 * @date 2018/6/28
 */
public interface ProductRepository extends JpaRepository<ProductInfo,String> {
    /**
     * 列表查询所有商品在架信息
     * @param productStatus
     * @return
     */
  List<ProductInfo> findByProductStatusIn(Integer productStatus);
}
